package com.zmn.mcc.common.dto.staff;

import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 北森员工，和 BsStaffDio 保持一致，删除了 operateType 字段，增加了 subordinates 字段。
 */
@Data
public class BsStaff implements Serializable {

    private Integer staffId;

    private String staffName;

    private String staffNumber;

    private Integer type;

    private String realName;

    private Integer sex;

    private String mobile;

    private String mail;

    private Integer orgId;

    private Integer deptId;

    private String post;

    private Integer positionLevel;

    private String dTalkId;

    private Integer workPlaceProvince;

    private Integer workPlaceCity;

    private Integer status;

    private Integer staffStatus;

    private Date entryTime;

    private Date becomeFormalTime;

    private Date leaveTime;

    private Integer bsUserId;

    /**
     * 主职ID，对应啄木鸟角色ID
     */
    private Integer postId;

    /**
     * 兼职ID，对应啄木鸟角色ID
     */
    private List<Integer> secondPostIds;

    /**
     * 直线经理，北森用户ID
     */
    private Integer bsLeaderId;

    /**
     * 职序类型：M(管理序列)，S(营销序列)，F(运营序列)，T(技术序列)，P(职能序列)
     */
    private String gradesType;

    /**
     * 下属
     */
    private List<BsStaff> subordinates;
}
